home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir30 / vortek2.zip / VERSA / INSTALL.BAT next >
DOS Batch File  |  1993-06-09  |  3KB  |  101 lines

  1. @echo off
  2. rem  **************************************************************************
  3. rem  **                                                                      **
  4. rem  **         Installation Batch File:                                     **
  5. rem  **                VORTEK Boards                                         **
  6. rem  **                     and                                              **
  7. rem  **                 VersaCAD 5.4                                         **
  8. rem  **                    or                                                **
  9. rem  **                 VersaCAD/386                                         **
  10. rem  **                                                                      **
  11. rem  **************************************************************************
  12. cls
  13. echo Device Driver Install Disk
  14. echo for the:
  15. echo VORTEK Boards
  16. echo and:
  17. echo  VersaCAD 5.4 &
  18. echo  VersaCAD/386
  19. echo .
  20. echo Please wait a moment while I find which applications are installed...
  21. echo .
  22. rem
  23. rem first, make certain we're not logged onto the A drive
  24. rem 
  25. if NOT EXIST install.bat goto CONTIN
  26. if NOT EXIST readme.bat goto CONTIN
  27. if NOT EXIST readme.doc goto CONTIN
  28. rem 
  29. rem since we are, lets go to the C: drive
  30. rem 
  31. c:
  32. cd \
  33. echo Searching for VersaCAD on C: drive
  34. goto i_53
  35. :CONTIN
  36. echo Searching for VersaCAD on the default drive
  37. cd \
  38. :i_53
  39. if EXIST a:\install.sta del a:\install.sta
  40. if NOT EXIST \vcad53\v2d\v2d.exe goto i_54
  41. echo VersaCAD 5.3 found
  42. echo This version is not supported-
  43. echo please consider upgrading to VersaCAD/Design or VersaCAD/386
  44. echo VersaCAD 5.3 driver installation complete
  45. :i_54
  46. if NOT EXIST \vcad54\v2d\v2d.exe goto i_386
  47. echo VersaCAD 5.4 (VersaCAD Design) found
  48. echo please wait while files are copied
  49. cd \vcad54
  50. copy a:\vc2_agx.com vc2_agx.com > a:\install.sta
  51. echo .
  52. copy a:\vcad54.cfg s3_agx.cfg > a:\install.sta
  53. echo  .
  54. copy a:\vcad54.bat \vcad54.bat > a:\install.sta
  55. echo   .
  56. echo Please configure VersaCAD Design for "VORTEK "
  57. echo and select either "Single Screen" or "Dual Screen" options
  58. pause
  59. enviro
  60. echo VersaCAD Design driver installation complete
  61. :i_386
  62. if NOT EXIST \vcad386\v2d\v2d.exe goto All_Done
  63. echo VersaCAD / 386 found
  64. echo please wait while files are copied
  65. cd \vcad386
  66. copy a:\vc3_agx.com vc3_agx.com > a:\install.sta
  67. echo .
  68. copy a:\vcad386.cfg s3_agx.cfg > a:\install.sta
  69. echo  .
  70. copy a:\vcad386.bat \vcad386.bat > a:\install.sta
  71. echo   .
  72. echo Please configure VersaCAD/386 for "VORTEK "
  73. echo and select either "Single Screen" or "Dual Screen" options
  74. pause
  75. enviro
  76. echo VersaCAD/386 driver installation complete
  77. goto All_Done
  78. :USAGE
  79. echo .
  80. echo In order to be installed correctly, the following conditions must
  81. echo be true:
  82. echo .
  83. echo   *   This install disk must be in drive A
  84. echo   *   The install disk cannot be write protected
  85. echo   *   The CURRENT drive must contain VersaCAD 5.3, VCAD 5.4 or VCAD/386
  86. echo .
  87. echo No other exceptions are allowed by this installation program.
  88. echo .
  89. echo To install in non-standard directories, please refer to the instructions
  90. echo in the manual. (A:README.DOC)
  91. goto end
  92. :All_Done
  93. rem 
  94. rem Here we will tell the user that installation is complete
  95. rem 
  96. if NOT EXIST a:\install.sta goto USAGE
  97. del a:\install.sta
  98. copy a:remove.exe .
  99. echo VORTEK  driver installation is now complete!
  100. :end
  101.